let bookArray = [
  {"code":"001",bookname:"十年编程",auto:"张三",price:45,imgpath: "booksImg/b1.jpg", pubDate: "出版时间1"},
  {"code":"002",bookname:"js编程",auto:"陈琦",price:28,imgpath: "booksImg/b2.jpg", pubDate: "出版时间1"},
  {"code":"003",bookname:"mysql",auto:"王五",price:44,imgpath: "booksImg/b3.jpg", pubDate: "出版时间1"},
  {"code":"004",bookname:"java从入门到入土",auto:"李四",price:22,imgpath: "booksImg/b4.jpg", pubDate: "出版时间1"},
  {"code":"005",bookname:"java初级",auto:"刘亚龙",price:35,imgpath: "booksImg/b5.jpg", pubDate: "出版时间1"},
  {"code":"006",bookname:"战争与和平",auto:"列夫.托尔斯泰",price:48,imgpath: "booksImg/b6.jpg", pubDate: "出版时间1"},
  {"code":"007",bookname:"三国演义",auto:"罗贯中",price:32,imgpath: "booksImg/b7.jpg", pubDate: "出版时间1"},
  {"code":"008",bookname:"西游记",auto:"吴承恩",price:21,imgpath: "booksImg/b8.jpg", pubDate: "出版时间1"}
];

let shoppArray = [
  {"code":"001",name:"十年编程",price:45,num:1},
  {"code":"002",name:"js编程",price:28,num:1},
  {"code":"003",name:"mysql",price:44,num:1},
  {"code":"007",name:"三国演义",price:32,num:1},
  {"code":"008",name:"西游记",price:21,num:1}
];
